<html>
    <body>
        <p>Hello</p>
        <script type="text/javascript">
            window.onload = function() {
                alert('load');
            }
        </script>
    </body>
</html>